home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gnat1792.zip / gnat179b / t-adainc / a-ngcefu.ads < prev    next >
Text File  |  1994-05-19  |  3KB  |  64 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT RUNTIME COMPONENTS                          --
  4. --                                                                          --
  5. --                         A D A . N U M E R I C S                          --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.2 $                              --
  10. --                                                                          --
  11. --           Copyright (c) 1992,1993,1994 NYU, All Rights Reserved          --
  12. --                                                                          --
  13. -- GNAT is free software;  you can  redistribute it  and/or modify it under --
  14. -- terms of the  GNU General Public License as published  by the Free Soft- --
  15. -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
  16. -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
  17. -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  18. -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
  19. -- for  more details.  You should have  received  a copy of the GNU General --
  20. -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
  21. -- to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. --
  22. --                                                                          --
  23. ------------------------------------------------------------------------------
  24.  
  25. with Ada.Numerics.Generic_Complex_Types;
  26. generic
  27.    with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (<>);
  28.    use Complex_Types;
  29.  
  30. package Ada.Numerics.Generic_Complex_Elementary_Functions is
  31.  
  32.    function Sqrt (X : Complex)   return Complex;
  33.  
  34.    function Log  (X : Complex)   return Complex;
  35.  
  36.    function Exp  (X : Complex)   return Complex;
  37.    function Exp  (X : Imaginary) return Complex;
  38.  
  39.    function "**" (Left : Complex;   Right : Complex)   return Complex;
  40.    function "**" (Left : Complex;   Right : Real'Base) return Complex;
  41.    function "**" (Left : Real'Base; Right : Complex)   return Complex;
  42.  
  43.    function Sin (X : Complex) return Complex;
  44.    function Cos (X : Complex) return Complex;
  45.    function Tan (X : Complex) return Complex;
  46.    function Cot (X : Complex) return Complex;
  47.  
  48.    function Arcsin (X : Complex) return Complex;
  49.    function Arccos (X : Complex) return Complex;
  50.    function Arctan (X : Complex) return Complex;
  51.    function Arccot (X : Complex) return Complex;
  52.  
  53.    function Sinh (X : Complex) return Complex;
  54.    function Cosh (X : Complex) return Complex;
  55.    function Tanh (X : Complex) return Complex;
  56.    function Coth (X : Complex) return Complex;
  57.  
  58.    function Arcsinh (X : Complex) return Complex;
  59.    function Arccosh (X : Complex) return Complex;
  60.    function Arctanh (X : Complex) return Complex;
  61.    function Arccoth (X : Complex) return Complex;
  62.  
  63. end Ada.Numerics.Generic_Complex_Elementary_Functions;
  64.